import mindspore.numpy as np
from mindspore.ops import Conv2D


if __name__ == '__main__':
    inputs = np.rand((25, 1, 224, 224))
    weights = np.rand((30, 1, 224, 224))
    conv2d = Conv2D(out_channel=30, kernel_size=224)
    output = conv2d(inputs, weights)
    print(output.shape)